<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./layui/css/layui.css">
</head>
<body>
    <img src="http://localhost:3001/images/a.png">
    <img src="//www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png" alt="">
    <script src="./layui/layui.js"></script>
    <script>
        function func(data){
            console.log(data);
        }
    </script>
    <script src="http://localhost:3001/students?callback=func"></script>
    <script>
        layui.define(function(){
            let $ = layui.$;
            $.ajax({
                type:"get",
                url:"/api/students",
                // dataType:'jsonp',
                success(data){
                    console.log(data);
                }
            });
        })
    </script>
</body>
</html>